新增合作伙伴订阅通知解析,商户被管控能力及原因查询接口#3996
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
该 PR 在 weixin-java-pay 模块中补充了微信支付服务商(合作伙伴)相关能力,新增了“合作伙伴订阅通知”回调解析模型与解析入口,并新增“商户被管控能力及原因查询”服务接口与实现,便于 SDK 使用方直接调用对应 V3 接口与解析通知数据。
Changes:
- 在
WxPayService/BaseWxPayServiceImpl中新增合作伙伴订阅通知解析方法parsePartnerSubscribeNotify。 - 新增“商户被管控能力及原因查询”服务
MerchantLimitationService及其实现,并在WxPayService暴露获取入口。 - 新增对应的数据模型
PartnerSubscribeNotifyResult与MerchantLimitationResult。
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/WxPayService.java | 暴露商户管控查询服务 getter,并新增合作伙伴订阅通知解析入口方法 |
| weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/MerchantLimitationService.java | 新增“商户被管控能力及原因查询”服务接口定义 |
| weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/MerchantLimitationServiceImpl.java | 新增服务实现,封装 V3 查询子商户管控情况的请求与反序列化 |
| weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java | 在基础实现中挂载新服务实例,并实现订阅通知的统一 V3 通知解析 |
| weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/PartnerSubscribeNotifyResult.java | 新增合作伙伴订阅通知通用回调结构模型 |
| weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/merchantlimitation/MerchantLimitationResult.java | 新增子商户管控情况返回模型(含原因与解脱路径结构) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.